GdPicture.NET.14 (COM - ActiveX)
GdPicture.NET.14 (COM - ActiveX)~GdPicture14_namespace / GdPicture.NET.14 (COM - ActiveX)~GdPicture14.GdPictureImaging / MeasureTextBox Method





In This Topic
MeasureTextBox Method (GdPictureImaging)
In This Topic
Syntax
'Declaration
 
Public Function MeasureTextBox( _
   ByVal ImageID As Integer, _
   ByVal Text As String, _
   ByRef Left As Single, _
   ByRef Top As Single, _
   ByRef Width As Single, _
   ByRef Height As Single, _
   ByVal FontSize As Single, _
   ByVal Alignment As TextAlignment, _
   ByVal FontStyle As FontStyle, _
   ByVal FontName As String, _
   ByVal AntiAlias As Boolean, _
   ByRef CharactersFitted As Integer, _
   ByRef LinesFilled As Integer _
) As GdPictureStatus
public GdPictureStatus MeasureTextBox( 
   int ImageID,
   string Text,
   ref float Left,
   ref float Top,
   ref float Width,
   ref float Height,
   float FontSize,
   TextAlignment Alignment,
   FontStyle FontStyle,
   string FontName,
   bool AntiAlias,
   ref int CharactersFitted,
   ref int LinesFilled
)
public function MeasureTextBox( 
    ImageID: Integer;
    Text: String;
   var  Left: Single;
   var  Top: Single;
   var  Width: Single;
   var  Height: Single;
    FontSize: Single;
    Alignment: TextAlignment;
    FontStyle: FontStyle;
    FontName: String;
    AntiAlias: Boolean;
   var  CharactersFitted: Integer;
   var  LinesFilled: Integer
): GdPictureStatus; 
public function MeasureTextBox( 
   ImageID : int,
   Text : String,
   Left : float,
   Top : float,
   Width : float,
   Height : float,
   FontSize : float,
   Alignment : TextAlignment,
   FontStyle : FontStyle,
   FontName : String,
   AntiAlias : boolean,
   CharactersFitted : int,
   LinesFilled : int
) : GdPictureStatus;
public: GdPictureStatus MeasureTextBox( 
   int ImageID,
   string* Text,
   ref float Left,
   ref float Top,
   ref float Width,
   ref float Height,
   float FontSize,
   TextAlignment Alignment,
   FontStyle FontStyle,
   string* FontName,
   bool AntiAlias,
   ref int CharactersFitted,
   ref int LinesFilled
) 
public:
GdPictureStatus MeasureTextBox( 
   int ImageID,
   String^ Text,
   float% Left,
   float% Top,
   float% Width,
   float% Height,
   float FontSize,
   TextAlignment Alignment,
   FontStyle FontStyle,
   String^ FontName,
   bool AntiAlias,
   int% CharactersFitted,
   int% LinesFilled
) 

Parameters

ImageID
Text
Left
Top
Width
Height
FontSize
Alignment
FontStyle
FontName
AntiAlias
CharactersFitted
LinesFilled
See Also

Reference

GdPicture.NET.14 (COM - ActiveX)~GdPicture14.GdPictureImaging
GdPictureImaging Members